A quick 'n' dirty time-stretching algorithm.